package com.hengby.hengcrud.modular.sys.service;

import com.baomidou.mybatisplus.service.IService;
import com.hengby.hengcrud.modular.sys.model.User;
import com.hengby.hengcrud.modular.sys.transfer.UserDto;
import io.swagger.models.auth.In;

import java.util.List;
import java.util.Map;

/**
 * @author zhouheng
 */
public interface IUserService extends IService<User>{

    List<Map<String,Object>> selectUsers(Object o, String name, String beginTime, String endTime, Integer deptid);

    /**
     * @description: 根据账户获取user对象
     * @date: 2018/7/10 20:46
     * @author:zhouheng
     */
    public User getByAccount(String acount);

    int setStatus(Integer userId, Integer code);
}
